<%--
  Created by IntelliJ IDEA.
  User: 12296
  Date: 2022/3/4
  Time: 16:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>登陆</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" >
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css" >
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" ></script>
    <style>
        div{
            position: absolute;
            left: 580px;
            top: 160px;
            /*background-color: #8fd3f4;*/
            width: 350px;
            height: 350px;
            border-radius: 20px;
            background-color: #2a3f54;
        }
        input{
            text-align: center;
            font-size: x-large;

        }
        button{
            background-color: transparent;
        }
        b{
            color: #ffffff;
        }

    </style>
</head>
<body background="images/bg.jpeg">

<div>
    <form action="<%=request.getContextPath()%>/login" method="post">
        <center>
            <br><br>
            <label class="radio-inline">
                <input type="radio" name="flag" id="inlineRadio1" checked value="1"><b>用户</b></label>
            <label class="radio-inline">
                <input type="radio" name="flag" id="inlineRadio2" value="2"><b>商家</b>
            </label>
            <label class="radio-inline">
                <input type="radio" name="flag" id="inlineRadio3" value="3"><b>管理员</b>
            </label>
        </center>
        <br>
        <center>
            <input type="text" name="loginName"  placeholder="请输入账号"  class="form-control input-lg" style="width: 200px;border-radius: 20px"><br><br>
            <input type="password" name="loginPwd" placeholder="请输入密码" class="form-control input-lg" style="width: 200px ; border-radius: 20px" ><br>
            <input type="submit" value="登   陆" class="btn btn-default"  style="border-radius: 20px"><br><br>
            <input type="button" value="商家入驻" onclick="window.location.href='shopRegister.jsp'" class="btn btn-default" style="border-radius: 20px">
            <input type="button" value="用户注册" onclick="window.location.href='userRegister.jsp'"  class="btn btn-default" style="border-radius: 20px">
        </center>
    </form>
</div>
</body>
</html>